package com.mystore.entity;

import java.io.Serializable;

/**
 * 订单实体类
 */
public class Order implements Serializable{
    private static final long serialVersionUID = -4488047211820803941L;
    private int id;
    private int uid;
    private int gid;
    private double price;
    private int num;
    private int address;
    private String status;
    private String startAddress;


    public Order() {
    }

    public Order(int id, int uid, String status) {
        this.id = id;
        this.uid = uid;
        this.status = status;
    }

    public Order(int uid, int gid, int num, int address, String status, String startAddress) {
        this.uid = uid;
        this.gid = gid;
        this.num = num;
        this.address = address;
        this.status = status;
        this.startAddress = startAddress;
    }

    public Order(int uid, int gid, double price, int num, int address) {
        this.uid = uid;
        this.gid = gid;
        this.price = price;
        this.num = num;
        this.address = address;
    }

    public Order(int uid, int gid, double price, int num, int address, String status) {
        this.uid = uid;
        this.gid = gid;
        this.price = price;
        this.num = num;
        this.address = address;
        this.status = status;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    public String getStartAddress() {
        return startAddress;
    }

    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }

}
